import type { FormSchema } from '@/components/core/schema-form/';

// 审批数据
export const approveschemas: FormSchema[] = [
  {
    field: 'result',
    component: 'RadioGroup',
    label: '审核意见',
    colProps: {
      span: 24,
    },
    defaultValue: '2',
    componentProps: {
      options: [
        {
          label: '同意',
          value: '2',
        },
        {
          label: '不同意',
          value: '3',
        },
      ],
    },
  },{
    field: 'reason',
    component: 'InputTextArea',
    label: '意见',
    componentProps: {
      rows: 6,
      placeholder:'请输入意见'
    },
    rules: [
      { required: true, type: 'string' },
      { max: 10000, message: '不能大于5000个字' },
    ],
    colProps: {
      span: 24,
    },
  },
];

